package org.linlinjava.litemall.db.dao;

import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Update;
import org.linlinjava.litemall.db.domain.LitemallToken;

public interface LitemallTokenMapper extends MPJBaseMapper<LitemallToken> {
    @Update("update litemall_token set valid = 2 where user_id = #{id}")
    void removeToken(Integer id);
}
